package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;

/**
 * 岗位对象 sys_position
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
@Data
public class SysPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**  */
    @Excel(name = "")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long enterpriseId;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String name;

    @Excel(name = "公司名称")
    private String enterpriseName;

    /** 岗位介绍 */
    @Excel(name = "岗位介绍")
    private String introduction;

    /** 最低薪资 */
    @Excel(name = "最低薪资")
    private Long minSalary;

    /** 最高薪资 */
    @Excel(name = "最高薪资")
    private Long maxSalary;

    /** 岗位状态 */
    @Excel(name = "岗位状态")
    private String status;

    @TableField(exist = false)
    private ArrayList<Long> enterpriseIds ;

    @TableField(exist = false)
    private SysEnterprise enterprise ;


}
